package com.amose.springcloudoauth2server;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

/**
 * @author yp
 * @date 2021/6/29
 * @since 1.0.0
 */
public class PasswordGenerator {

    public static void main(String[] args) {
        BCryptPasswordEncoder passwordEncoder = new BCryptPasswordEncoder();
        String encode = passwordEncoder.encode("123456");
        System.out.println(encode);
    }
}
